//
//  Target_YKFarm.m
//  YK_BaseMediator
//
//  Created by edward on 2021/3/11.
//  Copyright © 2021 Edward. All rights reserved.
//

#import "Target_YKFarm.h"
#import <UIKit/UIKit.h>
#import "YKFarmListController.h"

@implementation Target_YKFarm

- (UIViewController *)Action_farmViewController:(NSDictionary *)params
{
    UIViewController *vc;
    NSString *userId = params[@"userId"];
    if(userId)
    {
        vc = [[YKFarmListController alloc] initWithUserId:userId];
        
    }else
    {
#ifdef DEBUG
        // FIXME:
        NSLog(@"暂无此控制器，请后期版本更新");
#else
        
#endif
        vc = [[UIViewController alloc]init];
        vc.title = @"暂无此控制器";
    }
    
    return vc;
}
@end
